-
Home
-
Leat
-
2.4.9
-
Code
-
Classes
- WPPromotionRuleRepository
| Total Complexity |
32 |
| Dependencies |
7 |
| Dependents |
4 |
| Total lines |
322 |
| Lines of code |
193 |
| Logical lines of code |
75 |
| Comment lines |
76 |
| Methods |
10 |
| Properties |
2 |
Methods 10
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| create_or_update() |
S |
47 |
6 |
38 |
| get_coupons_by_user_id() |
S |
53 |
6 |
24 |
| handle_duplicates() |
S |
50 |
4 |
29 |
| get_rules() |
S |
57 |
3 |
16 |
| get_active_rules() |
S |
57 |
3 |
16 |
| delete_with_empty_uuid() |
S |
53 |
2 |
24 |
| get_by_uuid() |
S |
57 |
2 |
18 |
| delete() |
S |
58 |
2 |
17 |
| get_by_id() |
S |
68 |
3 |
7 |
| __construct() |
S |
77 |
1 |
4 |